package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DataAddmoneyDao;
import io.renren.entity.DataAddmoneyEntity;
import io.renren.service.DataAddmoneyService;



@Service("dataAddmoneyService")
public class DataAddmoneyServiceImpl implements DataAddmoneyService {
	@Autowired
	private DataAddmoneyDao dataAddmoneyDao;
	
	@Override
	public DataAddmoneyEntity queryObject(String id){
		return dataAddmoneyDao.queryObject(id);
	}
	
	@Override
	public List<DataAddmoneyEntity> queryList(Map<String, Object> map){
		return dataAddmoneyDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dataAddmoneyDao.queryTotal(map);
	}
	
	@Override
	public void save(DataAddmoneyEntity dataAddmoney){
		dataAddmoneyDao.save(dataAddmoney);
	}
	
	@Override
	public void update(DataAddmoneyEntity dataAddmoney){
		dataAddmoneyDao.update(dataAddmoney);
	}
	
	@Override
	public void delete(String id){
		dataAddmoneyDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dataAddmoneyDao.deleteBatch(ids);
	}
	
}
